/*INSERTION_TRADOIL*/
/**********************************************************************************************************************/
/* !Layer           : SRVL                                                                                            */
/* !Component       : RTMCLD                                                                                          */
/* !Description     : Real time measurement of CPU load                                                               */
/*                                                                                                                    */
/* !File            : RTMCLD_CFG_H.TPL                                                                                */
/* !Description     : configurations of the RTMCLD component                                                          */
/*                                                                                                                    */
/* !Reference       : PTS_DOC_5385380                                                                                 */
/*                                                                                                                    */
/* Coding language  : OIL                                                                                             */
/*                                                                                                                    */
/* COPYRIGHT VALEO all rights reserved                                                                                */
/**********************************************************************************************************************/
/* Dimension Informations
 * %PCMS_HEADER_SUBSTITUTION_START:%
 * The PID has this format: <Product ID>:<Item ID>.<Variant>-<Item Type>;<Revision>
 * %PID:%
 * %PCMS_HEADER_SUBSTITUTION_END:%
 **********************************************************************************************************************/
'/**********************************************************************************************************************/
/* !Layer           : SRVL                                                                                            */
/* !Component       : RTMCLD                                                                                          */
/* !Description     : Real time measurement of CPU load                                                               */
/*                                                                                                                    */
/* !File            : RTMCLD_CFG.h                                                                                    */
/* !Description     : configurations of the RTMCLD component                                                          */
/*                                                                                                                    */
/* !Reference       : PTS_DOC_5385380                                                                                 */
/*                                                                                                                    */
/* Coding language  : C                                                                                               */
/*                                                                                                                    */
/* COPYRIGHT VALEO all rights reserved                                                                                */
/**********************************************************************************************************************/
/* `Date()': generated by Genecode  `Version()'                                                                */
/* From Source Template : RTMCLD_CFG_H.TPL                                                                            */
/**********************************************************************************************************************/


#ifndef RTMCLD_CFG_H
#define RTMCLD_CFG_H


`
RTMCLD_CFG AS Cfg WHERE(INCLUDE_FILE !="")
{
INCLUDE_FILE AS FileName ONEPERLINE
{
'#include "` FileName '"`
}

}

RTMCLD_CFG
{
'

/**********************************************************************************************************************/
/* DEFINES                                                                                                            */
/**********************************************************************************************************************/

/* Number of MainFunction() calls in the single period                                                                */
/* (This value is calculated according to the oil configurations)                                                     */
/* Unit = ms                                                                                                          */
`
   WHERE((CPU_LOAD_MEASUREMENT_PERIOD_CONFIG_TYPE =="POSTBUILD")or(CPU_LOAD_MEASUREMENT_PERIOD_CONFIG_TYPE =="RUNTIME"))
   {'
#define RTMCLD_u16GetReloadValueCounter()    (`CPU_LOAD_MEASUREMENT_PERIOD_NAME')`
  }

'
#define RTMCLD_u16MAIN_LOOPS_NB   `MEASUREMENT_PERIOD_IN_TICKS_OF_MAIN
'


/*  mainFunction repetition time                                                                                      */
/* (This value is calculated according to the user configuration)                                                     */
/* Unit = ms                                                                                                          */
#define RTMCLD_u16MAIN_FUNCTION_PERIOD_MS    `MAIN_FUNCTION_PERIOD_MS'

/* Endless loop time execution                                                                                        */
/* (This value is calculated according to the microcontrolor)                                                         */
/* Unit = ns                                                                                                          */
#define RTMCLD_udtENDLESS_LOOP_EXEC_TIME    `ENDLESS_LOOP_EXECUTION_TIME_NS'

`
}


'
#endif /* RTMCLD_CFG_H */

/*----------------------------------------------------- end of file --------------------------------------------------*/
